﻿@using Entidades.Sistema.Produccion
@using Entidades.Sistema.Venta
@using System.Collections.ObjectModel;

@model DiagramacionProduccion


@using (Html.BeginForm("PostConfiguracionPartial", "DiagramacionProduccion", FormMethod.Post))
{
    <strong style="color: Blue">@ViewBag.Message</strong><br /> <br /> <br />
    
    @Html.Partial("EditProduccionProductosPartial", Model.ProduccionProductos);
    
    <hr />
    <div class="line">
        @Html.DevExpress().Label(
            settings => {
                settings.ControlStyle.CssClass = "label";
            }
        ).GetHtml()
        @Html.DevExpress().Button(buttonSettings => {
                    buttonSettings.Name = "btnGoToFinalizarTab;";
                    buttonSettings.Text = "Finalizar";
                    buttonSettings.UseSubmitBehavior = true;
        }).GetHtml()
    
        @Html.DevExpress().Button(
            btnSettings =>
            {
                btnSettings.Name = "btnCancel";
                btnSettings.ControlStyle.CssClass = "button";
                btnSettings.Text = "Cancelar";
                btnSettings.ClientSideEvents.Click = "function(s, e){ document.location='" + DevExpressHelper.GetUrl(new { Controller = "DiagramacionProduccion", Action = "CancelDiagramacionProduccionUpdatePartial", IdDiagramacionProduccion = Model.IdDiagramacionProduccion }) + "'; }";
            }).GetHtml()
    </div>
}
